package xyz.suancaiyu.chapter13.dao;

import org.springframework.data.jpa.repository.JpaRepository;
import xyz.suancaiyu.chapter13.entity.User;

/**
 * @author puruidong
 * @version 2019/1/17 22:37
 */
public interface UserDao extends JpaRepository<User, Long> {

    User findByUsername(String username);

}
